export default {
  pages: [
    "pages/home/home/index",
    "pages/login/index",
    "pages/checklist/checklist/index",
    "pages/home/goods/index",
    "pages/goods/entry/index",
    "pages/me/me/index",
    "pages/me/address/index",
    "pages/center/orders/index",
    "pages/home/search/index",
    "pages/me/applyDetail/index",
    "pages/me/addressDetail/index",
    "pages/checklist/address/index",
  ],
  subpackages: [
    {
      "root": "pages/ucenter/",
      "pages": [
        "rate/me",
        "rate/index",
        "orders-detail/index",
        "advise/index",
        "about-shop/index",
        "about-company/index"
      ],
    },
    {
      "root": "pages/me/sub/",
      "pages": [
        "coupon/index",
      ],
    },
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#F43443',
    navigationBarTitleText: 'AI云链',
    navigationBarTextStyle: 'white'
  },
  // workers: 'workers',
  tabBar: {
    custom: true,
    color: "#C0C4CC",
    selectedColor: "#004da0",
    borderStyle: "black",
    backgroundColor: "#ffffff",
    list: [
      {
        pagePath: "pages/home/home/index",
        iconPath: "./assets/img/home.png",
        selectedIconPath: "assets/img/homeH.png",
        text: "首页",
      },
      // {
      //   pagePath: "pages/goods/goods/index",
      //   iconPath: "./assets/img/home.png",
      //   selectedIconPath: "assets/img/homeH.png",
      //   text: "扫码",
      // },
      {
        pagePath: "pages/center/orders/index",
        iconPath: "assets/img/me.png",
        selectedIconPath: "assets/img/meH.png",
        text: "订单",
      },
      {
        pagePath: "pages/me/me/index",
        iconPath: "assets/img/me.png",
        selectedIconPath: "assets/img/meH.png",
        text: "我的",
      },
    ],
  },
  requiredPrivateInfos: [ 'chooseAddress'],
  usingComponents: {
  },
  "permission": {
    "scope.userLocation": {
      "desc": "定位最近的店铺" // 高速公路行驶持续后台定位
    }
  }
}
